package com.csg.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author George Chan
 * @since 2019-11-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("RT_ENERGY_LOG")
public class EnergyLog implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "ID", type = IdType.ID_WORKER)
    private String id;

    /**
     * 记录时间
     */
    @TableField("LOG_TIME")
    private Date logTime;

    /**
     * 记录电量值
     */
    @TableField("DATA_VALUE")
    private BigDecimal dataValue;

    /**
     * 记录电压值
     */
    @TableField("DATA_VOLTAGE")
    private BigDecimal dataVoltage;

    /**
     * 记录电流值
     */
    @TableField("DATA_CURRENT")
    private BigDecimal dataCurrent;

    /**
     * 站室标识
     */
    @TableField("AUTHORIZEID")
    private String authorizeid;

    /**
     * 机器人ID
     */
    @TableField("ROBOT_ID")
    private String robotId;


}
